package com.wfyn.reggie.modules.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wfyn.reggie.common.web.domain.Result;
import com.wfyn.reggie.modules.sys.domain.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wfyn.reggie.modules.sys.param.PageListRequest;

/**
* @author wfyn
* @description 针对表【employee(员工信息)】的数据库操作Service
* @createDate 2023-09-25 15:59:00
*/
public interface EmployeeService extends IService<Employee> {

    Result<Employee> login(Employee employee);

    Result<String> logout();

    Result<String> saveEmployee(Employee employee);

    Result<Page<Employee>> pageList(PageListRequest pageListRequest);

    Result<String> updateEmployee(Employee employee);

    Result<Employee> getEmployeeById(Integer id);
}
